package com.service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dao.DepDAO;
import com.pojo.Dep;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DepService extends ServiceImpl<DepDAO, Dep> {

    @Autowired
    private  DepDAO depDAO;

    public void add(Dep dep)
    {
        depDAO.insert(dep);
    }


}
